#pragma once

typedef unsigned long       Ptr32;
typedef unsigned __int64    Ptr64;

#ifndef _WIN64
typedef Ptr32   LongPtr, * PLongPtr;
#else
typedef Ptr64   LongPtr, * PLongPtr;
#endif

typedef struct _STUB_INFORMATION
{
    LongPtr Oep;
    LongPtr ImageBase;

    DWORD RvaOfText;
    DWORD SizeOfText;
    DWORD RvaOfReloc;
    DWORD SizeOfReloc;

    DWORD DataDirectory[20][2];
    DWORD NumberOfDataDirectory;

    UCHAR AesKey[16];
}STUB_INFORMATION, * PSTUB_INFORMATION;
